/**
 * @author 杨执信
 * @router 中台路由搭建，获取文章数据
*/

/* eslint-disable */
'use strict'

module.exports = app => {
    const { router, controller } = app
    router.get('/default/index', controller.default.home.index)
    router.get('/default/getIndexList', controller.default.home.getIndexList)
    router.get('/default/getDetailArticleById/:id', controller.default.home.getDetailArticleById)
    router.get('/default/getShareListById', controller.default.home.getShareListById)
    router.get('/default/getStudyListById', controller.default.home.getStudyListById)
}